
<template>
  <el-config-provider :locale="zhCn" :message="config">
    <router-view></router-view>
  </el-config-provider>
</template>
<script>
import {defineComponent, ref} from "vue";
import {useRoute, useRouter} from "vue-router";
import zhCn from "element-plus/es/locale/lang/zh-cn";

export default defineComponent({
  setup() {
    return {zhCn,config}
  },
})
const route = useRoute();
const router = useRouter();

const config = ref({
      max:1,
});


</script>
<style>
*{
  padding: 0;
  margin:0;
}
</style>